import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import shouye from './components/shouye.vue'
import fenlei from './components/fenlei.vue'
import dingdan from './components/dingdan.vue'
import wode from './components/wode.vue'
Vue.use(VueRouter)
const routes = [
  { path: '/', redirect: shouye },
  { path: '/shouye', component: shouye },
  { path: '/fenlei', component: fenlei },
  { path: '/dingdan', component: dingdan },
  { path: '/wode', component: wode }
]
Vue.config.productionTip = false
const router = new VueRouter({
  routes
})
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
